Partial fix for problem where keypad keys acted as shift-arrows in an
authorOwen Taylor <otaylor@redhat.com>
Fri, 22 Mar 2002 17:35:14 +0000 (17:35 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 22 Mar 2002 17:35:14 +0000 (17:35 +0000)
commit7425e428470e093e48b5039daf32c5c122a914db
tree9d987173bb77f3a60f10f6d789b71efbcf337d40
parentabfed60cab0d6f9440430d05926b1e1e3d5b9cc9
Partial fix for problem where keypad keys acted as shift-arrows in an

Fri Mar 22 11:29:11 2002  Owen Taylor  <otaylor@redhat.com>

        Partial fix for problem where keypad keys acted
        as shift-arrows in an entry rather than arrows (#74327)

        * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
        results by number of modifiers in the entry. Fixes
        problem where if a key matched both modified and unmodified
        key bindings ... e.g., the distinguishing key binding
        was consumed, then it was random which was used.

        * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
        Catch the case where there are multiple entries from the
        same bindingset (with different modifiers), and use only
        the first entry, which, with the change in _gtk_key_hash_lookup()
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkbindings.c
gtk/gtkkeyhash.c